package com.itheima.stargraph.request;


import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class UserLoginReqDTO {

    private String username;

    private String phone;

    @NotBlank
    @Length(min = 5, max = 20)
    private String password;
}
